@echo off
set DOLLS="accountsrv,battlesrv,configsrv,dbsrv,gamesrv,gmproxysrv,managesrv,msdksrv,ranksrv,routersrv,sandboxsrv,smssrv,uidsrv,wordsfiltersrv"

:doll_loop

for /f "Tokens=1,* Delims=," %%a in (%DOLLS%) do (

    cd D:\workspace\tools\tars_install\tars\tarsnode\data\dolltest.%%a\bin
    if exist dump*.txt (
        dir /N /S dump*.txt
    )

    set DOLLS="%%b"
    goto :doll_loop
)

pause